<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Powered by 9416.cn</title>
<!--#include file="../inc/conn.asp"-->

<script type="text/javascript" src="../ui/jquery.js"></script>
 <link rel="stylesheet" href="../ui/layui/css/layui.css" type="text/css"  />

<script type="text/javascript" src="../ui/layui/layui.js"></script>

<script type="text/javascript" src="../ui/pc.js"></script>



</head>


<body>
 <div class="mec_div" style="padding-top:0px; padding-bottom:20px;padding-left:20px;padding-right:20px;">
     <div class="layui-tab layui-tab-brief">
<ul class="layui-tab-title site-demo-title">
     <li ><a href="info.asp">基本资料</a></li>
     <li ><a href="set.asp">设置</a></li>
    <li ><a href="email.asp">邮箱</a></li>
    <li class="layui-this"><a href="type_list.asp">分类</a></li>

    <li ><a href="skin.asp">皮肤</a></li>
      <li ><a href="version.asp">授权</a></li>
  </ul>
  </div>
 <%jianbook.qxmsg()%>
  	  <table width="100%" class="layui-table">
    	<thead>
    	<tr>
        <th>排序</th>
        <th>分类名称</th>
        <th>是否外链</th>
        <th>可留言</th>
       
        <th>操作</th>
        </tr>
        </thead>
       
        <%
sql="select * from [type]  order by num asc"
 
  rst.open sql,conn,1,1
  do while not rst.eof

  %>
  
        <tr>
          <td><%=rst("num")%> </td>
          <td><%=rst("title")%></td>
          <td><%if rst("islink")=1 then response.Write "是" else response.Write "否" end if%></td>
          <td><%if rst("iscomment")=1 then response.Write "是" else response.Write "否" end if%></td>
         
          <td>  
           <a href="javascript:void(0)" onclick="tc('添加分类','type_add.asp',400,250)" >
<button class="layui-btn layui-btn-sm">
    <i class="layui-icon">&#xe654;</i>
  </button>
            </a>
          <a href="javascript:void(0)"  onclick="tc('修改信息','type_edit.asp?id=<%=rst("id")%>',400,250)" >
<button class="layui-btn layui-btn-sm">
    <i class="layui-icon">&#xe642;</i>
  </button>
            </a>
            
            <a href="javascript:void(0)"  onclick="del_type('type',<%=rst("id")%>)" >
  <button class="layui-btn layui-btn-sm">
    <i class="layui-icon">&#xe640;</i>
  </button></a>
          </td>
        </tr> 
        </form>
        <%rst.movenext
		loop
		rst.close%>
       
    </table>
    
   
  
    
    </div>  
       
	
 
   
</body>

</html>
